package com.tyk.bookstore.front.member.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author tyk
 * @description MsgCodeCheckQuery
 */
@Data
public class MsgCodeCheckQuery {

    @Schema(description = "消息验证码凭证")
    @NotBlank
    private String verifyCode;

    @Schema(description = "主体[账号/邮箱/手机号](needed since v2)")
    // @NotBlank
    private String principal;

    @Schema(description = "凭证[验证码]")
    @NotBlank
    private String certificate;

}
